package com.coffee.order.api.inquire.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.order.api.inquire.query.InquireOrderLogQuery;
import com.coffee.order.api.inquire.result.InquireOrderLogResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface InquireOrderLogService {

	Page<InquireOrderLogResult> getPager(InquireOrderLogQuery param, PagerInfo pr);
	
	Integer count(InquireOrderLogQuery param);
	
	InquireOrderLogResult getDetail(Integer id);
	
	List<InquireOrderLogResult> getList(InquireOrderLogQuery param, PagerInfo pr);
	
	List<InquireOrderLogResult> getList(InquireOrderLogQuery param);
	
	List<InquireOrderLogResult> getList();

	void delete(Integer id);

	void addOrUpdate(InquireOrderLogResult result)throws BusinessException;
	
	Map<Integer,InquireOrderLogResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,InquireOrderLogResult> getItemMap();
	
}